package a7;

import junit.framework.TestCase;

public class CheckWriterTest extends TestCase {
  
  public void testHundreds() {
    assertEquals("", IntToCheck.toText(0));
    assertEquals("one ", IntToCheck.toText(1));
    assertEquals("thirteen ", IntToCheck.toText(13)); 
    assertEquals("twenty-five ", IntToCheck.toText(25)); 
    assertEquals("two hundred ", IntToCheck.toText(200)); 
  }
  
//  public void testWriter() {
//    assertEquals("Three thousand ", IntToCheck.write(3000));
//    assertEquals("Five hundred forty-three thousand two hundred forty-six ", IntToCheck.write(543246));
//    assertEquals("Four million ", IntToCheck.write(4000000));
//    assertEquals("Five billion two hundred twenty ", IntToCheck.write(5000000220L));
//  }
//  
}
